package com.henme.crm.util.aop;

import com.henme.crm.util.datasource.ApplicationConstants;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created with IntelliJ IDEA.
 * User: ruby
 * Date: 13-4-26
 * Time: 下午3:32
 * To change this template use File | Settings | File Templates.
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSourceAnnotation {
    String value() default ApplicationConstants.MASTER_DATA_SOURCE;   //默认是主数据库连接
}
